package com.lphl.pet.activity;

import com.lphl.pet.R;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.webkit.WebView;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

public class WelcomUseActivity extends Activity implements OnClickListener {

	private ImageView iv_back;
	private TextView tv_share;
	private LinearLayout tradeedition;
	private LinearLayout ultimate;
	private WebView wv_load;
	private Button btn_buy;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_welcom);
		
		initView();
		
	}

	private void initView() {
		iv_back = (ImageView) findViewById(R.id.iv_back);
		tv_share = (TextView) findViewById(R.id.tv_share);
		tradeedition = (LinearLayout) findViewById(R.id.tradeedition);
		ultimate = (LinearLayout) findViewById(R.id.ultimate);
		wv_load = (WebView) findViewById(R.id.wv_load);
		btn_buy = (Button) findViewById(R.id.btn_buy);
		
		iv_back.setOnClickListener(this);
		tv_share.setOnClickListener(this);
		tradeedition.setOnClickListener(this);
		ultimate.setOnClickListener(this);
		btn_buy.setOnClickListener(this);
	}

	@Override
	public void onClick(View v) {
		switch (v.getId()) {
		case R.id.iv_back:
			this.finish();
			break;
			
		case R.id.tv_share:
			
			break;
			
		case R.id.tradeedition: // 普通版
			
			break;
			
		case R.id.ultimate: // 旗舰版
			
			break;
			
			
		case R.id.btn_buy:
			
			break;

		default:
			break;
		}
	}
}
